public class Auto_convert {
        //自动类型转换
        public static void main(String[] args){
            int num = 'a';
            double d1 = 80;         //整数自动转换成double类型
            System.out.println(num);        //97
            System.out.println(d1);         //80.0

            byte b2=1;
            short s1=1;
            int num4=b2+s1;
        }
}
